package com.example.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@EqualsAndHashCode(callSuper = true)
@Data
public class Business extends Account implements Cloneable{
    /**
     * 主键
     */
    private Integer id;
    /**
     * 用户名
     */
    private String username;
    private String password;
    private String name;
    private String avatar;
    private String role;
    private String phone;
    private String info;
    private String address;
    private String license;
    private String status;
    private String timeRange;
    private String type;
    /** 是否被收藏 */
    private Boolean isCollect;
    private Double score;
    /** 已售总数 */
    private Integer nums;
    /** 已售总数 */
    private String salt;

    private BigDecimal total;

    @Override
    public Business clone() throws CloneNotSupportedException {
        return (Business) super.clone();
    }

}
